/*****************************************************************************
Filename: keys.h
Author  : Chuck Li (lch0821@foxmail.com)
Date    : 2018-01-19 10:45:14
Description:
*****************************************************************************/
#ifndef __KEYS_H__
#define __KEYS_H__
#include <stdint.h>

#define KEY_M_BITS      1024
#if 0
const uint8_t public_modulus[] = {
    0xEF,0x2E,0xF2,0xE5,0x3C,0xB3,0xC5,0xE2,0x71,0x96,0x7B,0xBD,0xE8,0x99,0x42,0x6D,0x75,0x42,0xBD,0x7E,0x86,0x4C,0xD4,0x66,0x3B,0xD7,0xF7,0xFB,0x98,0x3C,0x29,0xB4,0xA9,0xFA,0xB3,0x6E,0xD3,0x03,0xA2,0xB4,0x36,0xE4,0xA8,0x9A,0x0B,0x43,0x3A,0xBD,0x06,0x4D,0x18,0x24,0x8D,0xE8,0xD2,0xBE,0x2B,0x31,0x1D,0x93,0xFA,0x2E,0x7B,0xB0,0x41,0xBF,0x8A,0x88,0x0F,0x7A,0x7B,0x5F,0x51,0x1A,0x5D,0x9C,0xE8,0xDA,0xCF,0x67,0xE8,0x4E,0x81,0x9E,0xF5,0x3A,0x16,0xA1,0xE0,0xCC,0x2D,0x71,0xE7,0x08,0xCE,0x18,0xE3,0x08,0x84,0x54,0xB9,0x42,0x44,0x9F,0x2F,0xF1,0x6E,0x93,0x0B,0x11,0xF5,0x98,0x22,0xFC,0x52,0x30,0xE4,0x16,0x6F,0x98,0x0B,0xAD,0xE2,0x25,0xF6,0x5F,0xB7,0xB1,
};
const uint8_t public_exponent[] = {
    0x01,0x00,0x01,
};
const uint8_t private_modulus[] = {
    0xEF,0x2E,0xF2,0xE5,0x3C,0xB3,0xC5,0xE2,0x71,0x96,0x7B,0xBD,0xE8,0x99,0x42,0x6D,0x75,0x42,0xBD,0x7E,0x86,0x4C,0xD4,0x66,0x3B,0xD7,0xF7,0xFB,0x98,0x3C,0x29,0xB4,0xA9,0xFA,0xB3,0x6E,0xD3,0x03,0xA2,0xB4,0x36,0xE4,0xA8,0x9A,0x0B,0x43,0x3A,0xBD,0x06,0x4D,0x18,0x24,0x8D,0xE8,0xD2,0xBE,0x2B,0x31,0x1D,0x93,0xFA,0x2E,0x7B,0xB0,0x41,0xBF,0x8A,0x88,0x0F,0x7A,0x7B,0x5F,0x51,0x1A,0x5D,0x9C,0xE8,0xDA,0xCF,0x67,0xE8,0x4E,0x81,0x9E,0xF5,0x3A,0x16,0xA1,0xE0,0xCC,0x2D,0x71,0xE7,0x08,0xCE,0x18,0xE3,0x08,0x84,0x54,0xB9,0x42,0x44,0x9F,0x2F,0xF1,0x6E,0x93,0x0B,0x11,0xF5,0x98,0x22,0xFC,0x52,0x30,0xE4,0x16,0x6F,0x98,0x0B,0xAD,0xE2,0x25,0xF6,0x5F,0xB7,0xB1,
};
const uint8_t private_public_exponet[] = {
    0x01,0x00,0x01,
};
const uint8_t private_exponent[] = {
    0xED,0xF9,0xB2,0x66,0x6E,0xCD,0x17,0x58,0x44,0x57,0xCB,0x6A,0x9A,0x60,0xD2,0x7D,0x01,0xAC,0x93,0xC9,0xAD,0x6A,0x07,0xF2,0x68,0x1C,0x6B,0x79,0x82,0x70,0x69,0xB6,0x7D,0x61,0x18,0xE2,0x6D,0x45,0x32,0xBF,0x47,0xD6,0x9E,0x02,0x16,0xAE,0x9F,0x64,0xAF,0x3E,0x49,0x85,0x25,0x44,0xBF,0x59,0xC2,0xB3,0xAD,0x90,0x2B,0xDD,0xCF,0xE5,0x14,0x3A,0x79,0x78,0xF0,0x9F,0xD6,0x40,0x1B,0x26,0x86,0x86,0xE5,0x08,0xBF,0x60,0x7B,0x78,0x9A,0x63,0x8B,0xC5,0xAC,0x1A,0xA8,0x09,0x49,0x2A,0x05,0xBF,0xCA,0xAE,0x8A,0xFE,0xFF,0x10,0xA3,0x69,0xB8,0x22,0xA1,0xD2,0xCA,0xED,0xD8,0x15,0x1F,0xB6,0xE3,0x9C,0xCE,0xF4,0x29,0xB0,0x2B,0x69,0x5C,0xF6,0xC7,0x66,0xDC,0x0A,0xB9,0x19,
};
const uint8_t key_p1[] = {
    0xF9,0x43,0x31,0xF7,0x65,0x8C,0xAD,0xB8,0xBF,0xE0,0xCB,0x50,0x60,0x05,0x87,0xDC,0xBF,0x24,0xB6,0xEC,0xF7,0x7D,0xE9,0xDC,0xCB,0x58,0x94,0x62,0xE7,0x3F,0x70,0x63,0x68,0x6A,0x1D,0x0B,0x9F,0x7B,0x0C,0x1C,0x12,0x6C,0x9C,0x86,0xC4,0xC5,0x83,0x39,0xB7,0x12,0x70,0x37,0xAE,0x94,0xEF,0xED,0x37,0x37,0x8C,0xC3,0xE9,0xC4,0x3D,0xCF,
};
const uint8_t key_p2[] = {
    0xF5,0xA6,0x02,0x92,0x66,0x11,0x8C,0xDB,0x19,0x8A,0xA9,0x26,0x92,0x55,0xE2,0xEA,0x36,0xD8,0x57,0xD7,0xCA,0x4C,0xA7,0x22,0x7D,0xB8,0x10,0x1D,0x29,0x20,0xD8,0x0A,0xD6,0xF9,0xEB,0x31,0x80,0xE1,0xC5,0x30,0x1A,0x8D,0x92,0x93,0xD2,0x03,0x94,0xA4,0x97,0x09,0xC6,0x84,0xD8,0xDD,0xBF,0x7B,0x8F,0x26,0xD8,0x8D,0x7F,0x2B,0x92,0x7F,
};
const uint8_t key_e1[] = {
    0xD9,0x5A,0x21,0xA8,0xE3,0xD1,0x0E,0xEE,0xE9,0xCA,0x20,0x1F,0xBF,0x0B,0x33,0x94,0x66,0xCC,0xA2,0x01,0xF2,0x31,0xC6,0x8A,0x74,0x7A,0x92,0x31,0xC8,0x09,0xC6,0x7B,0xB8,0x61,0xC7,0x60,0x0A,0x39,0xE6,0xAE,0x57,0xD6,0x83,0x8A,0xF4,0xEC,0x71,0xE8,0x12,0xDE,0x2E,0x22,0x2F,0xC6,0xC9,0x8C,0x25,0x38,0xF8,0x33,0x21,0x95,0xB0,0x7B,
};
const uint8_t key_e2[] = {
    0x16,0x56,0xEA,0x94,0xF5,0xC3,0x52,0xD3,0xFA,0x16,0xAA,0x1B,0x5F,0xE3,0x7F,0xA7,0x5D,0x25,0x7F,0x97,0x98,0x46,0x30,0x4C,0xEA,0xB1,0xFA,0x85,0x2C,0x60,0x58,0x45,0x64,0x17,0x86,0x54,0x12,0x2C,0x76,0x0A,0x51,0xDF,0xDE,0x1C,0xA3,0x54,0xC0,0x07,0xD7,0xD4,0x83,0xC1,0x41,0x17,0xA9,0x7A,0x4B,0x22,0x75,0x3F,0x28,0xF9,0x85,0x71,
};
const uint8_t key_c[] = {
    0xCF,0xB8,0x5D,0x7A,0x3F,0x80,0x18,0xBA,0x8E,0xB1,0xA4,0xF6,0xB6,0xF5,0x3C,0xE9,0x96,0x7C,0x2D,0x32,0x19,0xA2,0x4D,0xEF,0x24,0x4D,0x23,0x9D,0x92,0x16,0x97,0x44,0xAD,0x0D,0x72,0x74,0xB9,0x6B,0xDB,0x4D,0xC9,0x20,0xE6,0x6B,0xBA,0x13,0xA3,0xAE,0xC3,0x41,0xEB,0x85,0x15,0x8A,0xC8,0x88,0x71,0x42,0xA4,0x1B,0x87,0x1A,0x7D,0x1D,
};
#else
const uint8_t public_modulus[] = {
    0xb1,0x6a,0x65,0xe9,0x7a,0x63,0xd0,0x4f,0x01,0x54,0xeb,0x51,0x43,0x2c,
    0xb8,0x12,0xe0,0x40,0x6e,0x56,0x8d,0x3f,0x6b,0x52,0xd9,0xdf,0x9a,0x86,0xdc,
    0xdb,0xe0,0xf1,0x96,0x6b,0x46,0x99,0x33,0x28,0xb5,0x61,0x00,0x5c,0xc6,0x41,
    0xd5,0x8f,0xaf,0x17,0x0d,0xd9,0x3c,0x9c,0xf9,0x7c,0xb5,0x49,0xae,0xa4,0x55,
    0xad,0x99,0xab,0x96,0x5d,0xc5,0x6e,0x5d,0x7b,0x8d,0xf7,0xdb,0xc6,0xa5,0x00,
    0x62,0xd4,0x91,0xfe,0x58,0x5b,0xa5,0xd0,0xf8,0x56,0xa0,0xfa,0x2b,0x09,0x78,
    0x2a,0x42,0xe8,0x7a,0xf0,0x7c,0x7d,0xfc,0xc7,0xfb,0xc0,0xba,0xe2,0xfc,0xb2,
    0x0c,0xd3,0xda,0xaa,0x77,0x88,0xdb,0xb9,0xfe,0x9f,0x7b,0xb0,0xad,0xa8,0x69,
    0x77,0xae,0x61,0xbe,0x38,0x53,0x61,0x3e,0x47
};
const uint8_t public_exponent[] = {
    0x01,0x00,0x01,
};
const uint8_t private_modulus[] = {
    0xb1,0x6a,0x65,0xe9,0x7a,0x63,0xd0,0x4f,0x01,0x54,0xeb,0x51,0x43,0x2c,
    0xb8,0x12,0xe0,0x40,0x6e,0x56,0x8d,0x3f,0x6b,0x52,0xd9,0xdf,0x9a,0x86,0xdc,
    0xdb,0xe0,0xf1,0x96,0x6b,0x46,0x99,0x33,0x28,0xb5,0x61,0x00,0x5c,0xc6,0x41,
    0xd5,0x8f,0xaf,0x17,0x0d,0xd9,0x3c,0x9c,0xf9,0x7c,0xb5,0x49,0xae,0xa4,0x55,
    0xad,0x99,0xab,0x96,0x5d,0xc5,0x6e,0x5d,0x7b,0x8d,0xf7,0xdb,0xc6,0xa5,0x00,
    0x62,0xd4,0x91,0xfe,0x58,0x5b,0xa5,0xd0,0xf8,0x56,0xa0,0xfa,0x2b,0x09,0x78,
    0x2a,0x42,0xe8,0x7a,0xf0,0x7c,0x7d,0xfc,0xc7,0xfb,0xc0,0xba,0xe2,0xfc,0xb2,
    0x0c,0xd3,0xda,0xaa,0x77,0x88,0xdb,0xb9,0xfe,0x9f,0x7b,0xb0,0xad,0xa8,0x69,
    0x77,0xae,0x61,0xbe,0x38,0x53,0x61,0x3e,0x47
};
const uint8_t private_public_exponet[] = {
    0x01,0x00,0x01,
};
const uint8_t private_exponent[] = {
    0x75,0x78,0x2e,0x6c,0x4e,0x06,0x42,0xc9,0xdc,0xe6,0xde,0x3c,0x5b,0x0f,0x03,
    0xfe,0x33,0x8f,0x55,0xbf,0x67,0x1c,0xa3,0xb2,0x22,0xe2,0x43,0xcd,0xa1,0xf4,
    0xd0,0x57,0x05,0xb2,0x97,0xf7,0x1e,0x01,0x89,0x3e,0xe5,0xdf,0x87,0xc1,0xd5,
    0x66,0xa2,0x96,0xd0,0x2b,0x93,0x4f,0x98,0x7d,0x73,0x07,0x8b,0x63,0xf1,0xfa,
    0xd4,0xf1,0xe0,0xc7,0xb0,0x9a,0xc3,0xfb,0x0b,0xcf,0xcd,0x3f,0x81,0x02,0xfe,
    0x2a,0x35,0x23,0x9b,0x6a,0xbe,0x69,0xe5,0xaf,0x6d,0xe3,0x51,0x25,0x2a,0x9c,
    0xc6,0xe7,0xad,0xf4,0x5b,0x22,0x27,0x49,0xe0,0x25,0x2a,0x61,0x92,0x3d,0xa8,
    0x7b,0xbc,0x24,0xef,0x3d,0x27,0xff,0xc9,0xe5,0xb9,0x14,0x20,0x29,0x12,0x5b,
    0xc0,0xc3,0x90,0x90,0xb9,0x51,0xf2,0xe9
};
const uint8_t key_p1[] = {
    0xe7,0xab,0xff,0x5e,0xc9,0xc8,0xfd,0xe5,0x61,0x26,0x0a,0x98,0xb1,0xd6,
    0xa8,0xa6,0x03,0xde,0x3d,0x5b,0xfc,0x3d,0xb7,0x3e,0xba,0xd8,0x07,0xc0,0xa8,
    0x52,0xae,0xb2,0xf3,0xef,0x76,0x97,0x07,0x68,0x9d,0xa1,0xe7,0x25,0x72,0xa7,
    0x37,0x09,0xeb,0x06,0xb3,0x10,0xb3,0x08,0x18,0x35,0x1e,0xe4,0x2d,0xba,0x9e,
    0xec,0x07,0xa5,0xf9,0x1b
};
const uint8_t key_p2[] = {
    0xc4,0x0b,0xd6,0x60,0x4e,0x4a,0xfa,0x51,0xe8,0xee,0x85,0x28,0x6d,0xc7,
    0xfa,0xf3,0x56,0x52,0xde,0x82,0xa0,0x0c,0x27,0xc1,0x65,0x63,0x72,0xe8,0xe1,
    0x8c,0x4b,0x1e,0xdb,0xea,0x1c,0x31,0x0e,0x03,0xac,0x9b,0x0c,0x5b,0xa6,0x3b,
    0x44,0x1e,0x1e,0xfa,0x17,0x30,0xae,0x10,0x6d,0x35,0x4e,0xb0,0x70,0x70,0x5d,
    0xcd,0x61,0x0a,0xee,0x45
};
const uint8_t key_e1[] = {
    0xaa,0x5d,0x5f,0x84,0x13,0x1b,0x8d,0x2a,0x5b,0x50,0xa0,0x46,0x3d,0xb1,
    0x3f,0x80,0x26,0x24,0x0e,0x37,0x50,0xbd,0x09,0xbe,0x45,0xa4,0x8b,0xbe,0xef,
    0x89,0x2e,0x13,0x47,0x33,0x77,0xa0,0x04,0xc0,0xb7,0xfa,0xd1,0x82,0x46,0x58,
    0x15,0x2f,0x63,0xf8,0x1f,0x42,0x4e,0x85,0xcb,0x57,0x75,0x0a,0x13,0x5e,0xc3,
    0x73,0x8b,0x04,0x50,0xb5
};
const uint8_t key_e2[] = {
    0x6b,0x2e,0x65,0x97,0xe5,0x76,0x0c,0x80,0xf7,0xae,0x5f,0xd2,0x88,0xa2,0x8a,
    0xca,0xba,0xe9,0x37,0x89,0x86,0xe2,0xde,0x61,0x57,0x83,0x15,0x71,0xc8,0xce,
    0x20,0xcb,0xd0,0x43,0xa0,0x02,0x19,0xbd,0x5c,0x82,0xb0,0x30,0xf3,0x22,0xf7,
    0xcc,0xd7,0xf6,0xb6,0xf3,0x00,0x57,0x2e,0xbd,0xb4,0x35,0xb6,0x63,0x58,0x85,
    0x4e,0x86,0xe1,0x59
};
const uint8_t key_c[] = {
    0xdc,0xe0,0x36,0x05,0x78,0xc0,0xb7,0x54,0x06,0x7d,0x0e,0xc4,0x41,0x4a,
    0x56,0x19,0x2a,0xe5,0xbd,0x63,0xb3,0x95,0x7c,0x39,0x4e,0xa0,0x6f,0xa9,0xed,
    0xcc,0x36,0x30,0x27,0x42,0x79,0x6f,0x15,0x34,0xdb,0x2a,0xdc,0xd4,0xf2,0x58,
    0xe7,0x5d,0x8a,0x40,0x3b,0x93,0x9a,0x8c,0x37,0x2c,0xe0,0x00,0x0b,0xf6,0x87,
    0x6c,0x8c,0xc4,0xf9,0x70
};
#endif
#if 0

#if KEY_M_BITS == 1024
// KEY_1024
uint8_t key_m[] = {
    0xb9, 0x5a, 0x88, 0x07, 0x50, 0x8a, 0x6a, 0x7e, 0x6a, 0xd3, 0x2f, 0xf3, 0x9e, 0xed, 0xed, 0xfd,
    0x32, 0xac, 0x64, 0x47, 0xa2, 0x73, 0xf9, 0x91, 0xe9, 0xae, 0xb0, 0xa3, 0xfe, 0xd3, 0x69, 0x38,
    0xdb, 0x83, 0x33, 0x49, 0xb9, 0x6d, 0x50, 0x0e, 0xe8, 0x64, 0x4f, 0xf1, 0x8c, 0xb3, 0x11, 0xf0,
    0x71, 0x4a, 0xdb, 0x53, 0xa6, 0x54, 0x82, 0x8f, 0xd4, 0xb3, 0x64, 0xab, 0xa7, 0x97, 0xe4, 0xf2,
    0x85, 0xa6, 0x55, 0xd5, 0xcf, 0xbb, 0xdc, 0x27, 0xd1, 0x72, 0x98, 0xc5, 0xb3, 0x4a, 0x1d, 0x56,
    0xef, 0xc5, 0xc5, 0x82, 0xc0, 0x73, 0x38, 0xdf, 0x2d, 0x8c, 0xf4, 0x66, 0x59, 0x1e, 0x05, 0x4a,
    0x9e, 0x5a, 0x91, 0xe1, 0xb6, 0x28, 0xc5, 0x81, 0x3c, 0xe8, 0xb2, 0x0b, 0x3c, 0x1b, 0xdf, 0x6a,
    0x15, 0xa0, 0xc3, 0xf3, 0x0c, 0xb5, 0x4e, 0x03, 0x0e, 0xf0, 0x66, 0xde, 0x62, 0x7a, 0xc7, 0x23};

uint8_t key_e[] = {0x01, 0x00, 0x01};

uint8_t key_pe[] = {
    0x12, 0x8c, 0x2a, 0x9c, 0x80, 0xc4, 0xb9, 0x0f, 0x59, 0x65, 0x34, 0xa1, 0x2e, 0x40, 0x24, 0xd6,
    0x77, 0x61, 0xa4, 0xcf, 0x3e, 0x44, 0x58, 0xae, 0xef, 0x31, 0x59, 0xdf, 0xaf, 0x3a, 0x3c, 0x87,
    0x42, 0x00, 0x08, 0xfb, 0xd1, 0xa0, 0x4c, 0xa8, 0x91, 0x3c, 0xa8, 0x7b, 0x45, 0x57, 0x0d, 0xee,
    0x7f, 0x87, 0xbc, 0x16, 0xcc, 0xc8, 0x1c, 0x20, 0x84, 0x6a, 0x47, 0x22, 0x9e, 0x2c, 0xa6, 0xee,
    0x2a, 0x30, 0xee, 0xd6, 0xe6, 0x3b, 0x0c, 0x82, 0x2c, 0x2f, 0x40, 0x71, 0xe2, 0x1e, 0x62, 0xc3,
    0x08, 0xe9, 0xbe, 0xad, 0x02, 0x16, 0x33, 0x93, 0xe7, 0xf3, 0x89, 0x5f, 0xec, 0x50, 0x58, 0x58,
    0x76, 0x8c, 0x5f, 0x30, 0x6e, 0xcc, 0x6d, 0x56, 0xe8, 0x50, 0xa7, 0xc1, 0x12, 0x17, 0x93, 0x5c,
    0x7d, 0xf1, 0x83, 0xc1, 0x03, 0x26, 0xf0, 0xcf, 0x0c, 0xbf, 0x52, 0x60, 0xe6, 0xb2, 0x0e, 0xa1};

uint8_t key_p1[] = {
    0xdf, 0xdf, 0x51, 0x04, 0xc2, 0x15, 0xcd, 0x8d, 0xf6, 0x45, 0xf2, 0xc5, 0x23, 0x8e, 0x92, 0xff,
    0x2e, 0x8e, 0x9e, 0x36, 0x5c, 0x98, 0x63, 0x7e, 0xf9, 0x60, 0xcd, 0x92, 0x55, 0xf0, 0x07, 0x61,
    0xbe, 0x67, 0x8d, 0xed, 0xa0, 0x26, 0x60, 0x63, 0xb0, 0xd6, 0xac, 0xaf, 0xa0, 0x4c, 0xc3, 0xe9,
    0xa3, 0xab, 0xb2, 0x22, 0xe4, 0xfb, 0xf3, 0x96, 0xeb, 0xfc, 0xbf, 0x3a, 0x7b, 0xd1, 0x9d, 0xbb};

uint8_t key_p2[] = {
    0xd3, 0xf4, 0x1a, 0xc2, 0xf5, 0x5e, 0xbf, 0x77, 0x3e, 0x31, 0x62, 0xe4, 0xbe, 0xe0, 0xbf, 0x24,
    0x79, 0x47, 0xb8, 0x8f, 0xe4, 0xa0, 0x9a, 0xbd, 0x34, 0xe5, 0x99, 0xb1, 0xac, 0x32, 0x42, 0x94,
    0xfd, 0x6d, 0x99, 0x82, 0x55, 0xae, 0xda, 0x18, 0x18, 0x76, 0x43, 0x6f, 0xad, 0xe5, 0x89, 0x1c,
    0xee, 0x03, 0xae, 0x53, 0xfc, 0x01, 0x56, 0x70, 0xea, 0x91, 0xa1, 0x3a, 0xc5, 0xfd, 0x31, 0xb9};

uint8_t key_e1[] = {
    0x1b, 0x6e, 0x23, 0x61, 0x2f, 0xde, 0xb8, 0x06, 0xf2, 0xeb, 0xf3, 0x29, 0x10, 0x88, 0x41, 0x9e,
    0x9e, 0xb7, 0xbe, 0xce, 0xee, 0x5d, 0x85, 0xa3, 0x63, 0x2e, 0xe7, 0x41, 0x4c, 0xe2, 0x52, 0x25,
    0x39, 0xcd, 0x3a, 0x68, 0xa9, 0x3c, 0xca, 0x86, 0xac, 0x7e, 0x41, 0x3e, 0x6b, 0xa7, 0xbc, 0x41,
    0x7e, 0x5a, 0x65, 0x43, 0x3d, 0x47, 0x59, 0xbb, 0x5e, 0x42, 0xe3, 0xb3, 0x68, 0xc4, 0x70, 0x4d};

uint8_t key_e2[] = {
    0x52, 0xfb, 0xe0, 0xba, 0x72, 0x0d, 0x1d, 0x93, 0x97, 0x33, 0x08, 0xd0, 0x1c, 0x77, 0xab, 0xfe,
    0xa0, 0xc9, 0x56, 0xd6, 0x67, 0xa2, 0x05, 0xd3, 0x8c, 0x71, 0x54, 0x82, 0x7e, 0xb3, 0xd2, 0xe3,
    0xb8, 0x71, 0x7f, 0xc7, 0xca, 0xba, 0x41, 0xc3, 0x6b, 0x58, 0x6a, 0x40, 0xc0, 0x69, 0xfd, 0x0b,
    0xe9, 0x98, 0x61, 0x59, 0x9a, 0x71, 0xff, 0xa1, 0x08, 0x05, 0xea, 0x85, 0x33, 0x5d, 0x55, 0x69};

uint8_t key_c[] = {
    0x46, 0x59, 0x19, 0x3e, 0x61, 0x58, 0x94, 0xfc, 0xff, 0xfd, 0xa5, 0xc2, 0xaf, 0x29, 0xd7, 0xef,
    0xd9, 0x80, 0xa9, 0x16, 0x4b, 0x5f, 0x2f, 0x81, 0xa0, 0x4b, 0xf8, 0x91, 0x0f, 0xd6, 0x48, 0x89,
    0x5b, 0xb9, 0x3c, 0xd9, 0xd0, 0xf2, 0xef, 0x21, 0xa4, 0xd5, 0xc7, 0x64, 0x86, 0xb9, 0x61, 0x45,
    0x98, 0x58, 0xd2, 0x1b, 0xed, 0x98, 0x12, 0xff, 0x2e, 0xe4, 0x87, 0x5a, 0xfe, 0x9e, 0x03, 0x1c};

uint8_t hex_array[] = {
    0x72, 0xFF, 0xDF, 0xC6, 0x99, 0xEF, 0x56, 0xB6, 0x55, 0x94, 0x4F, 0xBE, 0x6A, 0xCB, 0x98, 0x03,
    0x72, 0x8F, 0xB6, 0xAD, 0xEE, 0x68, 0x21, 0x6F, 0x78, 0x7F, 0xC3, 0xB3, 0xF3, 0x24, 0x00, 0xD3,
    0xDD, 0xD3, 0xF5, 0x5C, 0x3A, 0x40, 0xFC, 0x23, 0x24, 0xEF, 0x25, 0x7F, 0xC2, 0xFA, 0x40, 0x3F,
    0x7B, 0x96, 0xB9, 0x77, 0x45, 0xB0, 0x14, 0xFD, 0x1D, 0xE0, 0x8C, 0x2A, 0x86, 0x2E, 0x26, 0x6A,
    0xB6, 0x67, 0x5E, 0x11, 0x95, 0x30, 0x90, 0x2E, 0x8F, 0xD0, 0x72, 0x5C, 0x5E, 0x74, 0x6C, 0x59,
    0x5A, 0x6F, 0xF6, 0x30, 0x3A, 0xEC, 0x7D, 0x96, 0x00, 0x5A, 0xFE, 0xDA, 0x51, 0x9C, 0xC0, 0x75,
    0x60, 0xAB, 0x64, 0xC4, 0x8D, 0x51, 0x7E, 0x54, 0x38, 0xBC, 0xE3, 0x55, 0x08, 0x8F, 0xFF, 0xD6,
    0xCB, 0xE8, 0x28, 0x98, 0x86, 0x1E, 0x40, 0x71, 0x90, 0x4D, 0xDD, 0x3E, 0x6C, 0x23, 0xEE, 0xC1};

#else
// KEY_2048
uint8_t key_m[] = {
    0xb8, 0x9b, 0x63, 0x7f, 0x33, 0xee, 0xad, 0x06, 0x18, 0x9f, 0xf1, 0x5d, 0x9d, 0xc7, 0xb8, 0xe9,
    0xad, 0x4d, 0x37, 0x25, 0x1f, 0x30, 0xa4, 0xbe, 0x3d, 0xc7, 0x12, 0xe9, 0x6a, 0x84, 0xbc, 0xab,
    0x36, 0x6d, 0xe8, 0x12, 0x3e, 0x12, 0xdd, 0x0d, 0xc3, 0x71, 0x1e, 0x0e, 0x2a, 0xbd, 0x57, 0x73,
    0xd4, 0xd7, 0xcd, 0x48, 0xa0, 0x64, 0xf9, 0x58, 0x07, 0x48, 0xda, 0x49, 0x80, 0xa8, 0x93, 0x60,
    0xae, 0x74, 0xa2, 0x6d, 0x96, 0x78, 0x66, 0x4a, 0xd5, 0xa0, 0x41, 0xaa, 0xa1, 0x3c, 0x10, 0x71,
    0xd3, 0x2e, 0x89, 0x8e, 0x0a, 0xac, 0xf0, 0x04, 0x16, 0x74, 0xad, 0xbf, 0x7f, 0x50, 0xb7, 0x1c,
    0x9d, 0x84, 0x9d, 0x7c, 0xdc, 0xab, 0x03, 0xac, 0xd7, 0x68, 0xb6, 0x59, 0x8c, 0x15, 0x48, 0xba,
    0x07, 0xa7, 0x90, 0x89, 0xa9, 0x76, 0xe2, 0x78, 0xb5, 0xe6, 0x19, 0xe3, 0xc5, 0xcd, 0xc0, 0xa1,
    0x29, 0x22, 0x24, 0xd5, 0x42, 0xb9, 0xe3, 0x5d, 0xf7, 0x62, 0x00, 0x8b, 0x79, 0x56, 0xbf, 0x3f,
    0xe3, 0x76, 0x2e, 0x67, 0xeb, 0xc3, 0x76, 0xf8, 0xad, 0x74, 0x1e, 0x93, 0x93, 0xb5, 0x2f, 0x91,
    0x37, 0x91, 0xe2, 0xd2, 0x90, 0x4a, 0xb0, 0xef, 0x25, 0x78, 0x7c, 0x9a, 0x06, 0xd6, 0xd1, 0xc3,
    0x4c, 0x49, 0x2a, 0xf7, 0x12, 0x80, 0x16, 0x62, 0x0b, 0xd4, 0xa2, 0x96, 0x9f, 0x1e, 0x39, 0xfa,
    0x29, 0xa2, 0xd9, 0x1a, 0x0e, 0x0d, 0x64, 0x53, 0x82, 0x29, 0x18, 0x8a, 0x59, 0x57, 0xb0, 0xed,
    0xad, 0xf0, 0x8e, 0x17, 0x5a, 0x9c, 0xb6, 0xa0, 0xc7, 0x96, 0xc8, 0x4d, 0x1e, 0x71, 0xb2, 0x1c,
    0x6c, 0xf0, 0x95, 0xfc, 0xe6, 0xc7, 0x90, 0x49, 0x04, 0xf2, 0x01, 0xa7, 0x8a, 0xc4, 0x4a, 0xd4,
    0x95, 0xff, 0x15, 0x6b, 0xa0, 0x34, 0x20, 0xfe, 0x86, 0xbb, 0x70, 0xcc, 0xac, 0xa9, 0xc1, 0xa7};

uint8_t key_e[] = {0x01, 0x00, 0x01};

uint8_t key_pe[] = {
    0xb6, 0x96, 0x5a, 0x4e, 0x91, 0xda, 0xdb, 0x9f, 0x4f, 0xf3, 0xc2, 0x12, 0xc9, 0xdf, 0xa4, 0x70,
    0xdb, 0x4b, 0xa7, 0xe3, 0x3b, 0x7a, 0x2d, 0x37, 0x4c, 0x7a, 0xfd, 0xa5, 0x88, 0x09, 0x49, 0x62,
    0x3e, 0x2f, 0x6e, 0x7d, 0xbc, 0x8f, 0x83, 0xbb, 0xfd, 0x36, 0x80, 0x77, 0x9a, 0xa6, 0x33, 0x3d,
    0x09, 0xa3, 0x78, 0x13, 0x01, 0x31, 0x5d, 0xbd, 0x47, 0x57, 0x33, 0x2f, 0xc7, 0xe4, 0xf3, 0xff,
    0x88, 0x0d, 0x2c, 0x2a, 0x1f, 0xcd, 0x6d, 0xbf, 0x4e, 0x93, 0x76, 0xdf, 0x81, 0x21, 0x9b, 0x52,
    0x39, 0x81, 0xa9, 0xe3, 0xa7, 0x83, 0x6c, 0xd1, 0x5e, 0x34, 0x81, 0x35, 0x0a, 0x83, 0x96, 0xd8,
    0xe2, 0xa3, 0x2b, 0xf1, 0x37, 0x80, 0x9d, 0xdd, 0xf2, 0x20, 0x4b, 0x5b, 0x3e, 0x46, 0x3e, 0xec,
    0x60, 0x6d, 0xc7, 0x73, 0xa0, 0xfd, 0x48, 0xfa, 0x03, 0x4f, 0x57, 0x04, 0x05, 0xbc, 0x7f, 0x6c,
    0x37, 0x3d, 0x95, 0x8a, 0x06, 0x3a, 0x91, 0x61, 0x1f, 0xb5, 0x06, 0xfa, 0x06, 0x3f, 0x03, 0xd3,
    0x87, 0xc6, 0xc4, 0xb5, 0xc4, 0xb3, 0x99, 0xe0, 0x18, 0x8b, 0x31, 0x3d, 0x00, 0x59, 0xe8, 0xf9,
    0xa2, 0x35, 0x53, 0x48, 0x46, 0x50, 0xbb, 0xe0, 0x56, 0xd7, 0xdf, 0x92, 0xe6, 0x95, 0x67, 0x09,
    0xd2, 0xe5, 0xf8, 0xdf, 0xa6, 0xac, 0x99, 0xc6, 0x28, 0x89, 0x10, 0xc4, 0xaf, 0x0b, 0x3f, 0xd3,
    0xe4, 0x3c, 0x85, 0xe5, 0x13, 0x37, 0x8c, 0xf7, 0xb3, 0xaf, 0xc0, 0xc6, 0x2d, 0x18, 0xd2, 0x68,
    0xe1, 0x1f, 0x6a, 0x23, 0xe2, 0x58, 0xce, 0x26, 0x67, 0x79, 0x64, 0x12, 0x69, 0xaa, 0x9d, 0x52,
    0x9e, 0xbf, 0x57, 0xdb, 0xdd, 0xdd, 0x04, 0xfb, 0xc6, 0xb1, 0xfe, 0x08, 0x01, 0x4d, 0x6b, 0x87,
    0x18, 0x27, 0xf1, 0x39, 0x94, 0x1a, 0xcf, 0xeb, 0xe6, 0xfe, 0x07, 0xc3, 0xfb, 0x84, 0x7a, 0xa1};

uint8_t key_p1[] = {
    0xed, 0x89, 0x0b, 0xdc, 0xbe, 0x52, 0xdc, 0x0d, 0x31, 0x9c, 0x3f, 0x32, 0x99, 0x39, 0xf3, 0x8e,
    0x56, 0x5d, 0xcb, 0xd1, 0x4b, 0x7a, 0x3b, 0xf8, 0xa7, 0x65, 0x78, 0xe9, 0xae, 0x25, 0x33, 0x9c,
    0x0b, 0x52, 0xef, 0x4c, 0x97, 0xdc, 0xbf, 0x92, 0x41, 0xdc, 0x40, 0xf6, 0x82, 0x71, 0x09, 0x8e,
    0xfb, 0x34, 0x9f, 0xe7, 0x13, 0x42, 0x29, 0x67, 0xf0, 0xee, 0x01, 0x1a, 0x43, 0x4a, 0xf3, 0xee,
    0x87, 0x77, 0xf7, 0xf0, 0xde, 0x94, 0x05, 0x93, 0xac, 0x59, 0xad, 0x69, 0x17, 0x2c, 0x01, 0x1c,
    0x0f, 0x1a, 0x28, 0xd9, 0x33, 0xe1, 0xe5, 0x94, 0x80, 0xae, 0xb5, 0xb9, 0x5e, 0xf9, 0x6e, 0x60,
    0x07, 0xa6, 0x84, 0x52, 0x12, 0x20, 0x09, 0x20, 0x7e, 0x8d, 0xf5, 0x19, 0xda, 0x53, 0xf2, 0x02,
    0xbf, 0xf4, 0xb5, 0x0c, 0xc3, 0x21, 0x08, 0xff, 0x2e, 0x24, 0xd1, 0x07, 0x70, 0x1d, 0xc9, 0x0b};

uint8_t key_p2[] = {
    0xc6, 0xf5, 0x11, 0x6b, 0xcb, 0x0c, 0x05, 0x2b, 0x13, 0x40, 0x4d, 0x69, 0x91, 0x94, 0x1b, 0x51,
    0xb5, 0x6e, 0xe8, 0x17, 0x7b, 0x44, 0x52, 0xb2, 0x9b, 0x1c, 0x3d, 0xe7, 0x80, 0x45, 0xc7, 0x15,
    0xc0, 0x2d, 0xbd, 0xe6, 0x64, 0x83, 0x3a, 0xb4, 0xf3, 0x2f, 0x95, 0x57, 0xa2, 0x00, 0x46, 0xae,
    0xd5, 0xcf, 0xfb, 0x88, 0xf1, 0xf8, 0x8e, 0x83, 0x23, 0xdc, 0x77, 0xc1, 0xe6, 0x83, 0x3b, 0x4e,
    0x75, 0x00, 0x23, 0x7d, 0x19, 0x0e, 0x0a, 0x60, 0x9a, 0xce, 0xf1, 0x56, 0xb1, 0xc0, 0xc5, 0x47,
    0xf2, 0x3f, 0x63, 0xa2, 0x5a, 0x7e, 0xe9, 0x00, 0x0f, 0x1c, 0x38, 0xe3, 0x17, 0xa5, 0xdc, 0x45,
    0xc9, 0x7c, 0x57, 0xab, 0x68, 0x8c, 0x48, 0x1b, 0x61, 0xf4, 0x5f, 0x7b, 0xa2, 0x9c, 0x3e, 0xc4,
    0x74, 0xef, 0xc0, 0x86, 0x45, 0xf8, 0x14, 0x6a, 0x9d, 0xb1, 0xf9, 0x82, 0x35, 0xcc, 0xa3, 0x55};

uint8_t key_e1[] = {
    0x3e, 0x02, 0xba, 0x13, 0x0d, 0xa8, 0xaa, 0x03, 0xd3, 0xc0, 0xbb, 0x8a, 0xe5, 0x0f, 0x88, 0xf2,
    0xce, 0xbf, 0x3b, 0xd7, 0x4e, 0xc2, 0x01, 0x67, 0xff, 0xa3, 0x70, 0xf6, 0x68, 0x5d, 0x13, 0xe5,
    0x17, 0xdb, 0xb5, 0xd7, 0x24, 0x0a, 0x20, 0x04, 0xf9, 0xa6, 0x9b, 0x5a, 0xff, 0x60, 0xad, 0x23,
    0x23, 0x97, 0x70, 0x6b, 0x2d, 0xce, 0xe6, 0xea, 0x58, 0xae, 0x79, 0xa1, 0x36, 0x92, 0x19, 0xae,
    0x5a, 0xb5, 0x4a, 0x08, 0x1a, 0xc3, 0x3f, 0xd5, 0x76, 0x78, 0x0e, 0xda, 0x51, 0x8f, 0x4e, 0x56,
    0xd9, 0xe6, 0x75, 0x65, 0x86, 0xb2, 0xe1, 0x71, 0x6c, 0x4a, 0xaf, 0xec, 0x4d, 0xcc, 0x06, 0x31,
    0x91, 0xad, 0xb9, 0xfb, 0x86, 0xf9, 0xd0, 0x08, 0x28, 0xa1, 0xbc, 0xab, 0xdc, 0x20, 0x70, 0x1c,
    0xa1, 0xaa, 0x2b, 0x9d, 0xc2, 0x4f, 0x1c, 0x7f, 0x29, 0xb7, 0xb8, 0xce, 0x1d, 0x49, 0xd9, 0x53};

uint8_t key_e2[] = {
    0xc5, 0x09, 0xe6, 0x53, 0xf4, 0x06, 0x96, 0x83, 0xbf, 0x90, 0x1a, 0x5a, 0xa8, 0x03, 0x9f, 0x3e,
    0xbf, 0xc9, 0xf3, 0xef, 0x75, 0x74, 0x07, 0xd6, 0xbd, 0x09, 0x2e, 0x41, 0xbc, 0x66, 0xde, 0xb1,
    0x2a, 0xdf, 0xe2, 0x47, 0x6f, 0x5a, 0x0b, 0xe5, 0x33, 0x46, 0xf7, 0xc7, 0x8f, 0x38, 0x68, 0xc8,
    0x34, 0x16, 0xc3, 0xcd, 0x2f, 0x9e, 0xf3, 0x3c, 0xeb, 0x62, 0x27, 0xf4, 0x8f, 0x9f, 0x7e, 0x37,
    0xc8, 0x65, 0xf7, 0xbf, 0xa7, 0xf5, 0xa0, 0xcf, 0x65, 0xe1, 0xf7, 0x5f, 0xdd, 0xb0, 0xc5, 0x70,
    0xe8, 0x78, 0x60, 0xeb, 0x64, 0x66, 0x75, 0xc9, 0x4a, 0x2d, 0xb0, 0x25, 0x2f, 0xc1, 0x62, 0xb2,
    0x76, 0xc6, 0x3f, 0x69, 0x11, 0xa4, 0x84, 0xb1, 0x21, 0xc4, 0xcc, 0x5f, 0x7c, 0x7e, 0xf3, 0x26,
    0xcb, 0x8c, 0xba, 0x06, 0x00, 0xfb, 0x9c, 0xf4, 0xad, 0xf2, 0x99, 0xe1, 0x9b, 0xf8, 0x6b, 0xf5};

uint8_t key_c[] = {
    0xcc, 0xc6, 0xba, 0xe9, 0x80, 0x28, 0x80, 0xc6, 0xc6, 0x75, 0x9a, 0x60, 0xb5, 0x40, 0x0c, 0x38,
    0xb5, 0x6f, 0x53, 0xcd, 0xad, 0x25, 0x13, 0x3a, 0x55, 0x8f, 0xe3, 0x17, 0x76, 0x6f, 0xf1, 0xc3,
    0x48, 0x3a, 0x5e, 0x63, 0x07, 0xac, 0xd0, 0xc4, 0xb4, 0xbe, 0x8b, 0x4e, 0x33, 0x00, 0x97, 0x3b,
    0x40, 0x4c, 0x80, 0x46, 0x1e, 0x96, 0x85, 0x34, 0x27, 0x75, 0xd1, 0xe5, 0x18, 0xe0, 0x11, 0xf4,
    0x04, 0xdd, 0x7d, 0xad, 0x62, 0xf0, 0xfe, 0xfc, 0xd2, 0x01, 0x31, 0x1e, 0x22, 0x3f, 0xec, 0xbd,
    0x2d, 0x46, 0xd9, 0xc3, 0x59, 0xd2, 0x4c, 0x34, 0xf2, 0x94, 0xb9, 0x4c, 0x6e, 0x33, 0x88, 0x61,
    0x30, 0x0f, 0x77, 0x50, 0x45, 0x62, 0xb1, 0x3e, 0x73, 0xf0, 0xa2, 0xee, 0xa9, 0x3b, 0xfe, 0xe4,
    0x2e, 0xc9, 0x9a, 0xf3, 0xfc, 0x63, 0x42, 0x42, 0xdf, 0xb5, 0x78, 0x33, 0x71, 0x61, 0x2b, 0x66};

uint8_t hex_array[] = {
    0x5F, 0xAF, 0x47, 0xE5, 0x6B, 0x3C, 0xB4, 0xC2, 0xE6, 0x8D, 0xF5, 0xB6, 0x89, 0xBD, 0x22, 0x91,
    0x14, 0x5C, 0x97, 0xC3, 0x93, 0x9C, 0xD2, 0x06, 0x1A, 0x82, 0x64, 0xC6, 0xCB, 0xC1, 0xF6, 0x41,
    0x9A, 0xBB, 0x84, 0xE2, 0x82, 0x5D, 0x74, 0x85, 0x00, 0x56, 0x8A, 0x95, 0x31, 0x7E, 0x9D, 0xB9,
    0x64, 0xAD, 0xCD, 0xD1, 0x99, 0xDA, 0x4C, 0xCF, 0xD6, 0x94, 0x56, 0x5E, 0x95, 0xE6, 0x99, 0x20,
    0x19, 0x23, 0x55, 0xCC, 0xE7, 0xDD, 0x7A, 0x57, 0x69, 0x9B, 0x5D, 0xEC, 0x4E, 0x07, 0xF2, 0xAE,
    0xC3, 0x76, 0xF3, 0x9F, 0xA9, 0xE2, 0x56, 0xC8, 0xD8, 0x97, 0xC6, 0x44, 0xF8, 0xBE, 0x2C, 0x22,
    0x9D, 0x3B, 0x8A, 0x8D, 0xD7, 0x40, 0x9F, 0x25, 0x96, 0x3B, 0xD9, 0xC3, 0xEF, 0x21, 0xDE, 0x4C,
    0x2C, 0x2A, 0x0C, 0xD1, 0x3E, 0x06, 0x46, 0xC3, 0xB6, 0x08, 0x0F, 0xBB, 0x11, 0xD8, 0xB6, 0x64,
    0xFC, 0xA1, 0x28, 0xAA, 0x3B, 0x0E, 0xCC, 0x1E, 0xC4, 0x59, 0xC8, 0xA3, 0xD7, 0xC1, 0x9F, 0x45,
    0xB9, 0xAD, 0x64, 0x07, 0x7C, 0xDE, 0x61, 0xCB, 0xA7, 0x0F, 0x54, 0xB7, 0x77, 0x93, 0x53, 0xDB,
    0x38, 0x71, 0x0E, 0xD4, 0x6E, 0xC5, 0x1A, 0x96, 0x0F, 0x8A, 0x14, 0x62, 0x33, 0xB9, 0x45, 0x82,
    0x10, 0xAB, 0xEE, 0x9D, 0x63, 0xD7, 0x2B, 0x0C, 0x09, 0xE8, 0x99, 0x10, 0x1C, 0x10, 0xF2, 0xEB,
    0x22, 0x48, 0xB1, 0xA2, 0x47, 0xC3, 0xA0, 0xCF, 0x75, 0x4D, 0x4B, 0xCE, 0x0E, 0x6F, 0x3B, 0x64,
    0x7F, 0x52, 0x09, 0x02, 0xFA, 0x3B, 0x15, 0xDA, 0x48, 0x89, 0x9A, 0xBD, 0xD9, 0x7E, 0x96, 0x93,
    0xCE, 0x95, 0xAB, 0x49, 0x6E, 0x22, 0xA6, 0x05, 0xCA, 0x75, 0x19, 0x54, 0xFA, 0xBB, 0xDE, 0x58,
    0x9C, 0x31, 0x78, 0xFA, 0x6A, 0xF9, 0x19, 0x7D, 0x74, 0x08, 0x5F, 0x0F, 0xE6, 0xEE, 0x78, 0x0C,
};
#endif

#endif

#endif  // __KEYS_H__
